Tweak the gtk-font-name setting docs
authorMatthias Clasen <mclasen@redhat.com>
Mon, 23 Nov 2015 13:17:49 +0000 (08:17 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 23 Nov 2015 13:18:37 +0000 (08:18 -0500)
Clarify that only parts of the font name are used.

https://bugzilla.gnome.org/show_bug.cgi?id=758367

gtk/gtksettings.c

index 11b11916a1ffd7c4abb59a8fccc5a9c866bcc761..13455846ea83110e2fe8bf5795368ebc75c5e8ba 100644 (file)
@@ -507,10 +507,15 @@ gtk_settings_class_init (GtkSettingsClass *class)
                                              NULL);
   g_assert (result == PROP_DND_DRAG_THRESHOLD);
 
+  /**
+   * GtkSettings:gtk-font-name:
+   *
+   * The default font to use. GTK+ uses the family name and size from this string.
+   */
   result = settings_install_property_parser (class,
                                              g_param_spec_string ("gtk-font-name",
                                                                    P_("Font Name"),
-                                                                   P_("Name of default font to use"),
+                                                                   P_("The default font family and size to use"),
                                                                   "Sans 10",
                                                                   GTK_PARAM_READWRITE),
                                              NULL);